package com.coreJava.设计模式.适配器模式.对象适配器;

/**
 * 作者: LCG
 * 日期: 2019/9/5 10:46
 * 描述:
 */
public class TestAdapterObject implements Test12CInterface {

    private Source2 source2;

    public TestAdapterObject(Source2 source2) {
        this.source2 = source2;
    }

    @Override
    public void test1() {
        source2.test1();
    }

    @Override
    public void test2() {

    }
}
